home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / dns.xml < prev    next >
Text File  |  2002-08-30  |  5KB  |  131 lines

  1. <search function="dns">
  2.   <name>DNSStuff.com</name>
  3.   <description>
  4.     Perform a wide variety of DNS lookups.<br/>
  5.     <div class="helpboxDescLabels">Switches:</div>
  6.       <table class="helpboxDescTable">
  7.           <tr><td>/rep</td><td> - </td><td>DNS Report - Finds lots of common DNS problems. (Enter domain name)</td></tr>
  8.           <tr><td>/timing</td><td> - </td><td>DNS Timing - See how long your DNS servers take to respond (Enter domain/host name)</td></tr>
  9.           <tr><td>/whois</td><td> - </td><td>WhoIS - Lists contact info for a domain/IP. (Enter domain name or IP) </td></tr>
  10.           <tr><td>/spam</td><td> - </td><td>SPAM DB - See if a mail server is listed in ORBZ, ORDB, etc.. (Enter host name or IP)</td></tr>
  11.           <tr><td>/rev</td><td> - </td><td>Reverse DNS - See if your IP has a reverse DNS entry. (Enter host name or IP)</td></tr>
  12.       <tr><td>/ipwhois</td><td> - </td><td>IP Whois. - Lists contact info for an IP (or domain). (Enter host name or IP)</td></tr>
  13.       <tr><td>/netgeo</td><td> - </td><td>NetGEO - Shows geographical location of an IP (or domain).  (Enter host name or IP)</td></tr>
  14.       <tr><td>/dns</td><td> - </td><td>DNS (default) - Look up a DNS record  (Enter domain/host name)</td></tr>
  15.       <tr><td>/tracert</td><td> - </td><td>TraceRt - Traces the route packets take to this host. (Enter host name or IP)</td></tr>
  16.       <tr><td>/ping</td><td> - </td><td>Ping - Shows how long it takes for packets to reach a host (Enter host name or IP)</td></tr>
  17.     </table>
  18.     <div class="helpboxDescLabels">Examples:</div>
  19.     <table class="helpboxDescTable">
  20.           <tr><td>dns 192.168.1.1 /rep</td></tr>
  21.           <tr><td>dns microsoft.com /timing</td></tr>
  22.           <tr><td>dns adclick.net /whois</td></tr>
  23.           <tr><td>dns adclick.net /spam</td></tr>
  24.           <tr><td>dns 192.168.1.1 /rev</td></tr>
  25.       </table>
  26.   </description>
  27.   <category>Computers</category>
  28.   <link>http://www.dnsstuff.com/</link>
  29.   <contributor>Monty Scroggins</contributor>
  30.   
  31.   // the basic re-usable single element form for most of the lookups
  32.   <form name="dnsf"
  33.         action="http://www.dnsstuff.com"
  34.          method="get">
  35.      <input type="hidden" name="ip" value=""/>
  36.    </form>
  37.    
  38.   // the two element re-usable form for the rest of the lookups
  39.   <form name="dnslongf"
  40.         method="get">
  41.     <input type="hidden" name="name" value=""/>
  42.     <input type="hidden" name="type" value="A"/>
  43.   </form>
  44.   
  45.   //special form the the report page
  46.   <form name="dnsrepf"       
  47.         method="get">
  48.     <input type="hidden" name="domain" value=""/>
  49.   </form>  
  50.   
  51.   <script><![CDATA[
  52.     function dns(q)
  53.     {
  54.       var args = parseArgs(q, "report, timing, whois, spam, rev, ipwhois, netgeo, dns, tracert, ping");
  55.       if( q == "" )
  56.         openSearchWindow("http://www.dnsstuff.com/");
  57.       else if( args.switches.length == 1 )
  58.       {              
  59.             switch( args.switches[0].name )
  60.           {
  61.           case "report":
  62.             document.dnsrepf.domain.value = args.q;
  63.             document.dnsrepf.action="http://www.dnsreport.com/tools/dnsreport.ch"
  64.             submitForm(dnsrepf);
  65.             break;
  66.           case "dns":
  67.             document.dnslongf.name.value = args.q;
  68.             document.dnslongf.action="http://www.dnsstuff.com/tools/lookup.ch"
  69.             submitForm(dnslongf);
  70.             break;
  71.           case "timing":
  72.             document.dnslongf.name.value = args.q;
  73.             document.dnslongf.action="http://www.dnsstuff.com/tools/dnstime.ch"
  74.             submitForm(dnslongf);
  75.             break;
  76.           case "whois":
  77.             document.dnsf.ip.value = args.q;
  78.             document.dnsf.action="http://www.dnsstuff.com/tools/whois.ch";
  79.             submitForm(dnsf);
  80.             break;
  81.           case "spam":
  82.             document.dnsf.ip.value = args.q;
  83.             document.dnsf.action="http://www.dnsstuff.com/tools/ip4r.ch";
  84.             submitForm(dnsf);
  85.             break;
  86.           case "rev":
  87.             document.dnsf.ip.value = args.q;
  88.             document.dnsf.action="http://www.dnsstuff.com/tools/ptr.ch";
  89.             submitForm(dnsf);
  90.             break;
  91.           case "ipwhois":
  92.             document.dnsf.ip.value = args.q;
  93.             document.dnsf.action="http://www.dnsstuff.com/tools/whois.ch";
  94.             submitForm(dnsf);
  95.             break;
  96.           case "netgeo":
  97.             document.dnsf.ip.value = args.q;
  98.             document.dnsf.action="http://www.dnsstuff.com/tools/netgeo.ch";
  99.             submitForm(dnsf);
  100.             break;
  101.          case "tracert":
  102.             document.dnsf.ip.value = args.q;
  103.             document.dnsf.action="http://www.dnsstuff.com/tools/tracert.ch";
  104.             submitForm(dnsf);
  105.             break;
  106.          case "ping":
  107.             document.dnsf.ip.value = args.q;
  108.             document.dnsf.action="http://www.dnsstuff.com/tools/ping.ch";
  109.             submitForm(dnsf);
  110.             break;
  111.          }         
  112.       }
  113.       else if( args.q == "?" )
  114.         nullArgs("dns","?");
  115.         else
  116.         {
  117.             //defaults to a standard dns lookup
  118.             document.dnslongf.name.value = args.q;
  119.             document.dnslongf.action="http://www.dnsstuff.com/tools/lookup.ch"
  120.             submitForm(dnslongf);
  121.       }
  122.     }
  123.   ]]></script>
  124.  
  125.   <copyright>
  126.     Copyright (c) 2002 David Bau
  127.     Distributed under the terms of the
  128.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  129.   </copyright>
  130. </search>
  131.